package com.example.practice.service;

import com.example.practice.entity.StudentLocation;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

/**
 * (StudentLocation)表服务接口
 *
 * @author makejava
 * @since 2024-01-04 10:23:07
 */
public interface StudentLocationService {


    StudentLocation queryById(Integer uid, Integer aid);

    /**
     * 分页查询
     *
     * @param studentLocation 筛选条件
     * @param pageRequest      分页对象
     * @return 查询结果
     */
    Page<StudentLocation> queryByPage(StudentLocation studentLocation, PageRequest pageRequest);

    /**
     * 新增数据
     *
     * @param studentLocation 实例对象
     * @return 实例对象
     */
    Integer insert(StudentLocation studentLocation);



    Integer deleteById(Integer uid, Integer aid);
}
